]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
screenShield: Raise lightbox on blank
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 3 Nov 2016 18:06:26 +0000 (19:06 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 3 Nov 2016 20:15:20 +0000 (21:15 +0100)
The lightboxes used for screen blanking are created during initialization
and shown each time the screen should blank. During the (potentially long)
time where the lightbox is hidden, any actor could be raised above the
lightbox - in particular any popup menu raises itself to the top when
opened. To not exclude those elements from screen blanking, raise the
lightbox every time it is shown.

https://bugzilla.gnome.org/show_bug.cgi?id=773875

js/ui/screenShield.js

index db53382c91f17bfd00250a6212debdb37541777a..a2f0bf42744262959f7eed7333c85c32c1c1665e 100644 (file)
@@ -850,6 +850,7 @@ const ScreenShield = new Lang.Class({
     },
 
     _activateFade: function(lightbox, time) {
+        Main.uiGroup.set_child_above_sibling(lightbox.actor, null);
         lightbox.show(time);
 
         if (this._becameActiveId == 0)